#!/bin/bash

tomcat_path=$1
war_name=travel.war

mvn clean install

cp -r $src/target/$war.war $TOMCAT_WEB

$TOMCAT_SCRIPT stop

$TOMCAT_SCRIPT start

echo "启动完成"

echo "=========== 日志打印 ==========="

tail -f $TOMCAT_LOG/catalina.out